package cn.line5.main;

import java.util.List;

import cn.line5.module.ModuleService;
import cn.line5.module.ModuleVo;
import cn.line5.seam.annotations.In;
import cn.line5.seam.annotations.Name;
import cn.line5.seam.annotations.Out;

@Name("mainRemote")
/**
 * <h1>后台管理主页调用类</h1>
 * <br/>
 * 
 * @author Liu,Xiaojun
 */
public class MainRemote {

	@In("moduleService")
	private ModuleService moduleService;
	
	@Out
	private List<ModuleVo> list;

	/**
	 * 后台首页
	 */
	public void main() {
		list = moduleService.getModuleList("");
	}
}
